<#-- 默认余额 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="${baseURL}">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>余额 - ${title}</title>
	<meta name="keywords" content="${keywords}"/>
	<meta name="description" content="${description}"/>
	<#-- 获取令牌 -->
	<meta name="csrfToken" content="${token}"/>
	<link href="${commonPath}css/common.css" type="text/css" rel="stylesheet" charset="utf-8">
	<link href="${commonPath}css/themify-icons/style.css" type="text/css" rel="stylesheet">
	<script language="javascript" src="${commonPath}js/tool.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/ajax.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/json2.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/jquery/jquery.min.js" type="text/javascript"></script>
	<link href="${commonPath}js/layer/skin/default/layer.css"  type="text/css" rel="stylesheet"/>
	<script type="text/javascript" src="${commonPath}js/layer/layer.js" language="javascript"></script>
</head>
<script type="text/javascript" language="javascript"> 

</script>
<body>
<#-- 引入页头 -->
<@include action="${newPublic_2}"/>
<div class="skeleton">
	<div class="main wrap backgroundModule" >

		<#-- 引入服务导航 -->
		<@include action="${newPublic_4}"/>
	
		<!-- 余额  -->
		<div class="balanceModule">
			<span class="deposit"><span class="name">余额：</span>￥${deposit}</span>

			<span class="buttonBox">
				<button type="button" class="payButton" onclick="javascript:window.location.href='user/control/payment?paymentModule=5'">充值</button>
			</span>
		</div>
		<div class="clearfix" style="height: 10px;background: #f8f8f9;"></div>
		<div class="dataTable paymentLogListModule">
			<TABLE class="dataList" width="100%">
				<THEAD>
					<TR class="dataThead">
						<TH width="30%">支付流水号</TH>	
						<TH width="20%">金额</TH>
						<TH width="15%">模块</TH>
						<TH width="15%">时间</TH>
						<TH width="20%">备注</TH>
					</TR>
				</THEAD>
				<TBODY>
		    		<#if pageView.records?exists && pageView.records?size gt 0 >    
						<#list pageView.records as paymentLog>
						<TR>
							<TD class="dataTD">${paymentLog.paymentRunningNumber}</TD>
							<TD class="dataTD">
								<#if paymentLog.amountState == 1>
									+
								<#elseif paymentLog.amountState == 2>
									-
								</#if>
								${paymentLog.amount}
							</TD>
							<TD class="dataTD">
								<#if paymentLog.paymentModule == 1>
									会员卡订单支付
								<#elseif paymentLog.paymentModule == 5>
									充值
								<#elseif paymentLog.paymentModule == 70>
									余额购买话题隐藏内容
								<#elseif paymentLog.paymentModule == 80>
									解锁话题隐藏内容分成
								<#elseif paymentLog.paymentModule == 90>
									悬赏金额
								<#elseif paymentLog.paymentModule == 100>
									采纳答案
								<#elseif paymentLog.paymentModule == 110>
									调整赏金
								<#elseif paymentLog.paymentModule == 120>
									话题发红包
								<#elseif paymentLog.paymentModule == 130>
									话题收红包
								<#elseif paymentLog.paymentModule == 140>
									话题返还红包
								</#if>
							</TD>
							<TD class="dataTD">${paymentLog.times}</TD>
							<TD class="dataTD">${paymentLog.remark}</TD>
			    		</TR>
			    		</#list>
			    	</#if> 
				    <#if !pageView.records?exists || pageView.totalrecord == 0 > 
				    	<TR>
							<TD colSpan="5" class="empty">还没有日志</TD>
				    	</TR>
					</#if>
		    	</TBODY>
			</TABLE>
			<DIV class=pageList>
				<@include action="${newPublic_1}"/>
			</DIV>
		</div>

	</div>

</div>
<#--引入页脚-->
<@include action="${newPublic_3}"/>
</body>

</html>
